#!/usr/bin/env python3

import config

from coptur.console import *
from coptur.worker import Worker

console = Console()
options = console.start()

if not options.threads:
    options.threads = config.threads

if not options.scan_type:
    options.scan_type = 1

worker = Worker(options)
worker.run()
